package com.qili.entity.jc;


import com.qili.annotation.Mean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author zhaoyongke  项目阶段表
 * @date 2020/11/2
 * @description
 */
@Table(name = "jc_project_stage")
@Data
@ToString
@EqualsAndHashCode
@Component
public class JcProjectStage implements Serializable {

    @Id
    @Column(name = "id")
    private String id;
    /*
     * ，项目表id
     * */
    @Column(name = "project_id")
    private String projectId;

    /*
    * 基础表 阶段表
    * */
    @Column(name = "stage_no")
    private String  stageNo;

    /*
     * 排序编号
     * */
    @Column(name = "order_num")
    private Integer orderNum;
    /*
    * 创建人
    * */
    @Column(name = "create_by")
    private String createBy;

    /*
    * 创建时间
    * */
    @Column(name = "create_date")
    private String createDate;
    /*
    * 招标结束时间
    * */
    @Mean("结束时间")
    @Column(name = "end_date")
    private String endDate;
    /*
    * 修改时间
    * */
    @Column(name = "modify_date")
    private String modifyDate;
    /*
    * 修改人
    * */
    @Column(name = "modify_by")
    private String modifyBy;

    /**
     * 完成状态  0 未开始  1 进行中  2  已完成   3   已超时
     */
    @Column(name = "finish_status")
    private String finishStatus;
    /**
     * 状态
     */
    @Column(name = "status")
    private String status;

    /*
    * 招标开始时间
    * */
    @Mean(value = "开始时间")
    @Column(name = "start_date")
    private String startDate;

    /**
     * 进度    该阶段占项目的进度
     */
    @Column(name = "progress")
    private String progress;

    /*完成时间*/
    @Column(name = "finish_date")
    private String finishDate;

}